'''
Created on 01-12-2012

@author: Maryla
'''
import logging

# create logger
logger = logging.getLogger('LAB_ADMIN_SERVER')
logger.setLevel(logging.DEBUG)

# create console handler and set level to debug
ch = logging.StreamHandler()
ch.setLevel(logging.DEBUG)

# create formatter
formatter = logging.Formatter('%(asctime)s - %(levelname)s -  %(module)s.%(funcName)s: %(lineno)d - %(message)s')

# add formatter to ch
ch.setFormatter(formatter)

# add ch to logger
logger.addHandler(ch)



